package com.demo.one_3.factory.impl;

import com.demo.one_3.factory.IHFactory;
import com.demo.one_3.service.IHuawei;
import com.demo.one_3.service.impl.HKeyboardService;
import com.demo.one_3.service.impl.HMouseService;

/**
 * @author SunChangSheng
 * @apiNote
 * @since 2021/12/15 17:31
 */
public class HFactoryService implements IHFactory {
    @Override
    public IHuawei mouse() {
        return new HMouseService();
    }

    @Override
    public IHuawei keyboard() {
        return new HKeyboardService();
    }
}
